﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ClusterServer
{
    public class MessageHeaders
    {
        #region Inbound Headers

        public const int IN_PING = 0x14;
        public const int IN_PING_UNKNOWN = 0x0B;

        public const int IN_CHARACTER_CREATE = 0xF4;
        public const int IN_CHARACTER_DELETE = 0xF5;
        public const int IN_CHARACTER_LIST = 0xF6;

        public const int IN_WORLD_TRANSFER = 0xFF05;

        #endregion

        #region Outbound Headers

        public const int OUT_PONG = 0x0B;

        public const int OUT_WORLD_IP = 0xF2;
        public const int OUT_CHARACTER_LIST = 0xF3;

        public const int OUT_ERROR = 0xFE;

        public const int OUT_WORLD_TRANSFER = 0xFF05;

        #endregion

        #region Error Identifiers

        public const int ERROR_CHARACTER_EXISTS = 1316;
        public const int ERROR_DUPLICATE_SLOT = 105;
        public const int ERROR_INVALID_NAME = 111;

        #endregion
    }
}
